<template>
  <div>
    <van-list
      :finished="finished"
      finished-text="没有更多了"

    >
      <van-cell v-for="(item,index) in searchTipListData" :key="index"
                @click="tiplistClick(item)" :title="item" />
    </van-list>

  </div>
</template>

<script>
export default {
  name: 'SearchTipList',
  props:["searchTipListData"],
  data () {
    return {
      list:[1,2,3,4,5,6,7],
      finished:true

    }
  },
  created () {

  },
  computed: {},
  methods: {
    // 热门搜索词条点击
    tiplistClick(val){
      this.$emit('tiplistClick',val)
    }

  }
}
</script>

<style lang="less" scoped>

</style>
